﻿@model NetSurveillance.WebApp.Models.CaseModel
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, Resources.MessageResource.CaseCreateUnSucc)
    <div>
        <fieldset class="inline-form">
            <legend>@Resources.ViewResource.SaveCase_CaseInfo</legend>

            <div class="editor-entry">
                <div class="editor-label">
                    @Html.LabelFor(m => m.Name)
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m=>m.Name)
                    @Html.ValidationMessageFor(m => m.Name)
                </div>
            </div>
            <div class="editor-entry">
                <div class="editor-label">
                    @Html.LabelFor(m => m.Desc)
                </div>
                <div class="editor-field">
                    @Html.TextBoxFor(m=>m.Desc)
                    @Html.ValidationMessageFor(m => m.Desc)
                </div>
            </div>
            @Html.HiddenFor(m => m.Id)
        </fieldset>
    </div>
}